/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tcloudclient.fileSystemInfo;

import java.io.File;
import javax.swing.Icon;
import javax.swing.filechooser.FileSystemView;

/**
 *
 * @author Tomas
 */
public class IconUtil {
    
    public static Icon getIcon(File file){
        return FileSystemView.getFileSystemView().getSystemIcon(file);
    }
    
}
